// AnimateBar.cpp : implementation file
//

#include "stdafx.h"
#include "ansieditor.h"
#include "AnimateBar.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAnimateBar dialog


CAnimateBar::CAnimateBar()
{
	//{{AFX_DATA_INIT(CAnimateBar)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CAnimateBar::DoDataExchange(CDataExchange* pDX)
{
	CCoolBar::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAnimateBar)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAnimateBar, CCoolBar)
	//{{AFX_MSG_MAP(CAnimateBar)
	ON_WM_CREATE()
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAnimateBar message handlers

int CAnimateBar::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CCoolBar::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	m_dlg.Create(CAnimateDlg::IDD, this);
	return 0;
}

void CAnimateBar::OnSize(UINT nType, int cx, int cy) 
{
	CCoolBar::OnSize(nType, cx, cy);
	
//	m_dlg.MoveWindow(0, 0, cx, cy);
}
